package com.ffyc.cms.dao;

import com.ffyc.cms.model.Comment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentDao {
    List<Comment> getcommentlist(@Param("state") Integer state);

    void topass(@Param("id") Integer id, @Param("state")Integer state);

    Comment getcommentById(Integer id);
}